<template>
	<view class="tongji-box">
		<uni-collapse>
			<uni-collapse-item class="biaoticolor" :title="titlen">
								<view class="neirong">
									<view class="neirong-top">
										<view class="xingming zhengwen2">张三</view>
										<view class="xuehao zhengwen2"> 学号：0000000001</view>
										<view class="banji zhengwen2">班级：计算机应用2班</view>
									</view>
									<view class="neirong-bottom">
										<view class="neirong-bottom-left">
											<view class="chichang zhengwen2">
												请假时间：（总时长{{ time }}小时）
											</view>
											<view class="shijian zhengwen2">
												2022-6-9 8:00 至 2022-6-13 8:00
											</view>
										</view>
										<view class="neirong-bottom-right">
											<view class="zhuangtai zhengwen2">
												正常销假
											</view>
										</view>
									</view>
								</view>
								<view class="neirong">
									<view class="neirong-top">
										<view class="xingming zhengwen2">张三</view>
										<view class="xuehao zhengwen2"> 学号：0000000001</view>
										<view class="banji zhengwen2">班级：计算机应用2班</view>
									</view>
									<view class="neirong-bottom">
										<view class="neirong-bottom-left">
											<view class="chichang zhengwen2">
												请假时间：（总时长{{ time }}小时）
											</view>
											<view class="shijian zhengwen2">
												2022-6-9 8:00 至 2022-6-13 8:00
											</view>
										</view>
										<view class="neirong-bottom-right">
											<view class="zhuangtai zhengwen2">
												正常销假
											</view>
										</view>
									</view>
								</view>
								<view class="neirong">
									<view class="neirong-top">
										<view class="xingming zhengwen2">张三</view>
										<view class="xuehao zhengwen2"> 学号：0000000001</view>
										<view class="banji zhengwen2">班级：计算机应用2班</view>
									</view>
									<view class="neirong-bottom">
										<view class="neirong-bottom-left">
											<view class="chichang zhengwen2">
												请假时间：（总时长{{ time }}小时）
											</view>
											<view class="shijian zhengwen2">
												2022-6-9 8:00 至 2022-6-13 8:00
											</view>
										</view>
										<view class="neirong-bottom-right">
											<view class="zhuangtai zhengwen2">
												正常销假
											</view>
										</view>
									</view>
								</view>
								<view class="neirong">
									<view class="neirong-top">
										<view class="xingming zhengwen2">张三</view>
										<view class="xuehao zhengwen2"> 学号：0000000001</view>
										<view class="banji zhengwen2">班级：计算机应用2班</view>
									</view>
									<view class="neirong-bottom">
										<view class="neirong-bottom-left">
											<view class="chichang zhengwen2">
												请假时间：（总时长{{ time }}小时）
											</view>
											<view class="shijian zhengwen2">
												2022-6-9 8:00 至 2022-6-13 8:00
											</view>
										</view>
										<view class="neirong-bottom-right">
											<view class="zhuangtai zhengwen2">
												正常销假
											</view>
										</view>
									</view>
								</view>
								<view class="neirong">
									<view class="neirong-top">
										<view class="xingming zhengwen2">张三</view>
										<view class="xuehao zhengwen2"> 学号：0000000001</view>
										<view class="banji zhengwen2">班级：计算机应用2班</view>
									</view>
									<view class="neirong-bottom">
										<view class="neirong-bottom-left">
											<view class="chichang zhengwen2">
												请假时间：（总时长{{ time }}小时）
											</view>
											<view class="shijian zhengwen2">
												2022-6-9 8:00 至 2022-6-13 8:00
											</view>
										</view>
										<view class="neirong-bottom-right">
											<view class="zhuangtai zhengwen2">
												正常销假
											</view>
										</view>
									</view>
								</view>
								<view class="neirong">
									<view class="neirong-top">
										<view class="xingming zhengwen2">张三</view>
										<view class="xuehao zhengwen2"> 学号：0000000001</view>
										<view class="banji zhengwen2">班级：计算机应用2班</view>
									</view>
									<view class="neirong-bottom">
										<view class="neirong-bottom-left">
											<view class="chichang zhengwen2">
												请假时间：（总时长{{ time }}小时）
											</view>
											<view class="shijian zhengwen2">
												2022-6-9 8:00 至 2022-6-13 8:00
											</view>
										</view>
										<view class="neirong-bottom-right">
											<view class="zhuangtai zhengwen2">
												正常销假
											</view>
										</view>
									</view>
								</view>
			</uni-collapse-item>
		</uni-collapse>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				titlen:'2022年6月',
				time:'7'
			}
			
		}
		
		
	}
</script>

<style lang="scss">
	@import url(@/common/common.css);
	.tongji-box{
		width: 100%;
		overflow: hidden;
		box-sizing: border-box;
		.neirong{
			width: 95%;
			margin: 0 auto;
			display: flex;
			overflow: hidden;
			box-sizing: border-box;
			flex-direction: column;
			padding: 10rpx 0;
			border-bottom: 1rpx solid #999999;
			
			.neirong-top{
				display: flex;
				width: 100%;
				overflow: hidden;
				box-sizing: border-box;
				flex-direction: row;
				.xingming{
					flex: 3;
					
				}
				.xuehao{
					flex: 7;
				}
				.banji{
					flex: 7;
					text-align: right;
				}
				
			}
			.neirong-bottom{
				display: flex;
				width: 100%;
				overflow: hidden;
				box-sizing: border-box;
				flex-direction: row;
				margin-top: 10rpx;
				.neirong-bottom-left{
					flex: 3;
					overflow: hidden;
					box-sizing: border-box;
					flex-direction:column;
					justify-content: center;
					.shichang{
						flex: 1;
					}
					.shijian{
						flex: 1;
						letter-spacing: 1rpx;
						margin-top: 10rpx;
						
						
					}
				}
				.neirong-bottom-right{ 
					flex: 1;
					overflow: hidden;
					box-sizing: border-box;
					// justify-content: center;
					align-items: center;
					.zhuangtai{
						width: 80%;
						padding: 20rpx 0;
						text-align: center;
						// background-color: #f5f5f5;
					}
				}
				
			}
		}
		.neirong:last-child{
			border: none;
		}
		.biaoticolor{
			/deep/ .uni-collapse-item__title-box{
				background-color: #f5f5f5;
			}
			/deep/ .uni-collapse-item__title{
				background-color: #f5f5f5;
			}
			/deep/ .uni-collapse-item__title-text{
				color: #444444;
				font-size: 36rpx;
			}
			
		}
		
		
	}
	.tongji-box{
		/dedp/ .uni-collapse-item__wrap-content .uni-collapse-item--border{
			border-bottom: none;
		}	
	}
</style>